package acm;

import java.util.Scanner;

public class a5 {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int date=in.nextInt();
        if (date%4==0&date%100!=0||date%400==0){
            System.out.print("yes");
        }
        else {
            System.out.print("no");
        }
    }
}
